<script setup>

</script>

<template>
  <el-container>
    <el-main>
      <el-row>
        <el-col :span="18">
          <el-card>
            <template #header><h3>关于我</h3></template>
            <h3></h3>
            <p>这里是关于我的详细介绍。</p>
          </el-card>
          <el-card>
            <template #header><h3>技能</h3></template>
            <ul>
              <li>HTML/CSS</li>
              <li>JavaScript</li>
              <li>Vue.js</li>
            </ul>
          </el-card>
          <el-card col>
            <template #header>公告</template>
            这是一条测试公告
          </el-card>
        </el-col>
        <el-col :span="6">
          <el-card class="box-card">
            <template #header>
              <div class="profile-header">
                <img src="../../../public/user1.png" alt="头像">
                <h2>张三</h2>
                <p>前端开发者</p>
              </div>
            </template>
            <div class="text item">
              联系方式：<br />
              Email: zhangsan@example.com<br />
              GitHub: <a href="https://bilibili.com">zhangsan</a>
            </div>
          </el-card>
        </el-col>
      </el-row>
    </el-main>
  </el-container>
</template>

<style scoped lang="scss">

  .el-card  {
    margin: 20px;
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
  }
  .el-card {
    margin: 20px;
  }
  .profile-header {
    text-align: center;
    padding: 20px;
  }
  .profile-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  .profile-header h2 {
    margin: 0;
    font-size: 24px;
  }
  .profile-header p {
    color: #606266;
  }



</style>
